home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 21
/
Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso
/
Aminet
/
util
/
dtype
/
DT_Descriptors.lha
/
DT-Descriptors
/
ReadMe
< prev
next >
Wrap
Text File
|
1997-07-18
|
6KB
|
172 lines
DT-Descriptors V1.0 (18-Jul-97)
-------------------------------
Written/Fixed by TetiSoft@apg.lahn.de (Detlef Wuerkner).
Sixteen bugfixed and eight new datatype descriptors (the files
located in devs:datatypes/ used by AmigaDOS 3.x to determine the
type of a file).
The directory "Desc_New"
------------------------
contains eight new descriptors for cli.datatype: Arc, Arj, BinHex,
Compress, Freeze, Rar, Stuffit and Zoo. See "Readme_New" for details.
The directorys "Hook_Source" and "Hook_Bin"
-------------------------------------------
contain sources and binarys of hook-functions described below.
If you are not familiar with "dtdesc", then you don't need that :-)
The file cli.prefs
------------------
is a sample Prefs-file for cli.datatype that contains the program calls
for some of the descriptors in "Desc_Fixed" and all in "Desc_New". It
also contains a list where the necessary programs can be found.
The directory Desc_Fixed
------------------------
contains sixteen bugfixed versions of datatype descriptors:
ADPCM, Binary, GZIP, Lha, LZX, NRoff, PBM_P1, PBM_P4, PostScriptBIN,
QRTV39, QRTV43, Sample Vision, Tar-GZip, TX16W, UUCoded and Zip.
No icons are provided, you normally already have them :-)
To install, just copy each descriptor to devs:datatypes/ if the
following is true for your system setup:
1) You already have a descriptor and the matching icon in devs:datatypes
2) If the version of the corresponding datatype (Can be checked with e.g.
"Version SYS:classes/datatypes/cli.datatype") is higher than that
mentioned in the list below, it maybe possible that you "fix"
something that was already fixed. See the Readme that came with
the newer datatype in this case.
List of fixes:
--------------
Problem: File Type recognition does sometimes not work correct
with datatypes.library 40.6 (WB3.1).
Reason: The docs for hook-functions in descriptors claim that
the file to check is guaranteed to be at the beginning,
some hook-function-authors (e.g. myself ;) counted on that.
In fact it may be in the middle :-(
Fix: For QRT you can use the supplied replacements, which Seek()
to BOF (Begin-Of-File) first. Rename one of the QRT-descriptors
to "QRT" and do not use the other!
QRTV39 is for qrt.datatype 39.1, QRTV43 is for qrtV43.datatype 43.1.
For MacPaint you can use my replacement
(Aminet util/dtype/MacPaint_DT.lha)
------
Problem: Enforcer hits with ExamineDT(.rexx) and datatypes.library 45.3
Reason: The descriptors for Binary, GZIP, Lha, LZX, NRoff, Tar-GZip and Zip
had NO entry in the "Group"-menu of dtdesc.
Fix: Use supplied replacements, all changed to Group "System". They replace
the descriptors from cli.datatype 39.4 and binary.datatype 39.11.
------
Problem: Endless loop with dtdescrlist from datatypes.library 45.3
distribution when HWGPOST.datatype 40.2 is installed.
Reason: Double Filetype "PostScript"
Fix: Use supplied replacement for PostScriptBIN descriptor of
HWGPOST.datatype 40.2, changed Filetype from "PostScript"
to "PostScriptBIN"
------
Problem: Error message of AddDatatypes45.2 when pbm.datatype 43.10
is installed.
Reason: "/" character in Filetype of PBM_P1 and PBM_P4.
(Note: The Readme in PictDT43-760.lha stated that the
PBM descriptors are modified to avoid problems with
v45 datatypes.library, but they are unchanged).
Fix: Use supplied replacements for pbm.datatype 43.10,
changed Filetype in PBM_P1 from
"PBM Plus B/W" to "PBM Plus B&W" and in PBM_P4 from
"PBM Plus B/W Raw" to "PBM Plus B&W Raw".
------
Problem: Files packed with gzip, lha, lzx and zip are only recognized
if they have the correct suffix (.lha etc).
Reason: The descriptors supplied with cli.datatype 39.4 force the
suffix to be there.
Fix: Use supplied replacements for cli.datatype 39.4, and make sure that
env:datatypes/cli.prefs contains the following options:
GZIP: -S ""
Lha: -X
LZX: -X0
------
Problem: Not all files packed with zip are recognized as zipped.
Reason: The descriptor for zip did test for too many bytes to match.
Fix: Use supplied replacement for cli.datatype 39.4, it checks only the
first four bytes, as described in the /etc/magic files of NetBSD and ADE.
------
Problem: Not all uuencoded files are recognized as such.
Reason: The descriptor for UUCoded wanted an empty first line and the
"begin " in the second line.
Fix: Use supplied replacement for cli.datatype 39.4, now a hook-function
searches the "begin " at the start of any line within the first 64 bytes
of the file. The source code and binary are provided.
------
Changed Group of ADPCM descriptor replacement from Picture to Sound.
This fixes adpcm.datatype 40.1.
Changed Group of SampleVison descriptor replacement from System to Sound.
This fixes SampleVision.datatype 39.5.
Changed Group of TX16W descriptor replacement from System to Sound.
This fixes TX16W.datatype 39.4.
The descriptors for NRoff and man are so similar that the man-descriptor
would declare a NRoff-document as man-document, but not vice versa.
To force the NRoff-descriptor to be used first, I raised it's priority
from 0 to 1. Not sure if this was really necessary, if datatypes.library
uses specific patterns before unspecific patterns or not. Did it just to
be safe :-) This fixes cli.datatype 39.4.
------
Problem: When using the descriptors for "Binary" and "ASCII" (htdsascii),
Enforcer hits occur when AddDataTypes 39.2 is running (it has
problems to redefine these pre-defined names).
Fix1: Delete the descriptor "Binary", binary.datatype will be found
without it. This doesn't solve the "ASCII"-problem...
Fix2: Use AddDatatypes Version 45.2 or higher from Aminet(util/sys).
Please send me a mail if you found a bug not fixed in this release.
Happy datatyping,
TetiSoft@apg.lahn.de (Detlef Wuerkner)